<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/platform/include/include.jsp"%>
<html>
<head>
<TITLE><c:out value="${_LOGONUSER_.MANAGETITILE}" /></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<%@ include file="/jsp/platform/include/header.jsp"%>
</HEAD>
<BODY>
	<DIV class="all">
		<%@ include file="/jsp/platform/include/head.jsp"%>
		<%@ include file="/jsp/platform/include/menu.jsp"%>
		<DIV class="mains">
			<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
				<TBODY>
					<TR valign="top">
						<%@ include file="/jsp/platform/include/mainLeft.jsp"%>
						<TD>
							<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
								<TBODY>
									<TR>
										<TD>
											<TABLE width="180" border="0" cellspacing="0" cellpadding="0">
												<TBODY>
													<TR>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_l.jpg"></TD>
														<TD align="center"
															background="<%=request.getContextPath()%>/images/pages_bg.jpg">
															<SPAN class="f_tit1">代理商留扣设置</SPAN></TD>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_r.jpg"></TD>
													</TR>
												</TBODY>
											</TABLE>
										</TD>
									</TR>
								</TBODY>
								<TR>
									<TD>
										<div class="pages_con">
												<div class="pages_con_20">
													<DIV class="transaction_external">
														<DIV class="clearfix">
														  <SPAN class="fund-item"> 
															<SPAN class="label dl_w"style="padding-left: 20px; text-align: right;">代理等级</SPAN>
															
															<select id="agentLevelSelect">
															    <option value="">请选择</option>
															    <c:forEach var="model" items="${list}">
															       <option value="${model.roleId}">${model.roleName}</option>
															    </c:forEach>
															</select>
						
															 <SPAN class="fund-item"> <SPAN class="fund-item">
															 <a id="saveButtionId" class="btn confirm margin_l_10" href="javascript:void(0);">保存</a>
														  </SPAN>
														</DIV>
													</DIV>
													<br>
														<div class="talbes" id="tb">
															<table style="text-align: center" width="100%" border="0"
																cellpadding="8" cellspacing="0" id="tableContentId">
															</table>
														</div>
												</div>
											
										</div> <!--当中内容块结束-->
									</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<%@ include file="/jsp/platform/include/foot.jsp"%>

<!-- 产品模板   失败-->
<%--<script id="productAgentLeftTemplate" type="text/html">
		<tbody >
			<tr class="talbe_pubs_tr">
				<td>产品类型</td>
				<td>总利润(万分制)</td>
				<td>留扣(百分比)</td>
			</tr>
																	
																				
         <c:forEach var="model" items="${productList}">
		   <tr >
			<td name="productName" >${model.productName}</td>
			<td name="totalProfit"><input type="hidden" name="totalProfit" value="${model.totalProfit}">${model.totalProfit}</td>
			<td><input type="text" name="left" value="${model.leftRate}"></input>
			<input type="hidden" name="leftId" value="${model.productId}"/></td>
		    </tr>
         </c:forEach>
        </tbody>
</script>--%>

<!-- 经销商 失败-->
<%--<script id="agentLevelTemplate" type="text/html">
   {{each levelList}}
		<option value="${model.roleId}">${model.roleName}</option>
</script>--%>

<script src="<%=request.getContextPath()%>/script/plugins/template.js" type="text/javascript"></script>
<script src="<%=request.getContextPath()%>/script/agentLeft.js" type="text/javascript"></script>
</BODY>

</HTML>
